/* 案例的公共样式 */
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;
}

li {
  list-style: none;
  margin: 10px 0;
}

p {
  line-height: 25px;
  letter-spacing: 3px;
}

.img-100 {
  width: 100%;
  object-fit: cover;
}

.img-50 {
  width: 50%;
  margin: 0 50%;
  transform: translateX(-50%);
  object-fit: cover;
}

.br {
  margin-bottom: 20px;
}

/* 头部 */
header {
  display: flex;
  align-items: center;

  height: 52px;
  padding: 0 10%;
  box-shadow: 0px 0px 12px 2px rgba(0, 0, 0, 0.212);
}
header .logo {
  font-size: 26px;
  letter-spacing: 2px;
  font-weight: 600;
}
header .user {
  position: relative;
  flex: 1;
  padding-left: 20px;
  line-height: 52px;
}
header .user::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  content: "";
  display: block;
  width: 1px;
  height: 50%;
  margin: 0 10px;
  background-color: #7e7e7e;
}

/* 内容部分 */
.center {
  width: 50vw;
  margin: 20px auto;
  /* border: 1px solid #333; */
}

/* 标题 */
.title {
  margin: 20px;
}

/* 功能 */
.function .img {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.function .img img {
  width: 40%;
  margin-top: 20px;
}

/* 后台管理页面 */
.admin-img img {
  width: 100%;
  margin-top: 20px;
}